added support for forward and reverse fft operations