Added a wrapper around the FFT so any FFT can be used