Fixed factor of two bug in autocorrelation.