Added FFT calculations.