Implemented a wrapper around FFTW3.