Use fft for correlation measurements.