Autocorrelation uses double