FFT function

Compute the Discrete Fourier Transform of an image