R implementation of fft 2d (this depends on fftw)