Fixed up some of the FFT code.