Fourier Transform fitness function