Changed the forgotten calls to the FFTW allocate and deallocate.