Replaced old fft with fftw