switch to better FFT interface and more flexible FFT implementation