added fft changed data format to complex