Add fftw functions to allocate buffers