%CORRCOEFF	r_xy=corrcoeff(x,y,N)
%	Compute an estimate of the cross-correlation matrix between x and y 
%	up to lag N. The applied algorithm is faster than MATLABs xcorr2 for
%	moderate N's.
%	An unbiased estimate is calculated, taking edge effects into account.
