FFTsurrogate function

Generate surrogate data using the Fourier transform