Added support for fourier transform