Fixed up Fourier transform issues.