Fixed bug in resample fft