Added 1D and 2D FFT for complex pointer