function Intz = intsums(DAtimeseries,twindow)
% tic
duration = size(DAtimeseries,1);
Intz = zeros(duration,2);
for i=0:duration-twindow
    Intz(i+1+floor(twindow/2),1)=sum(DAtimeseries(i+1:i+twindow,1));
    Intz(i+1+floor(twindow/2),2)=sum(DAtimeseries(i+1:i+twindow,2));
end;
% toc
% t=toc

