FFT implementation for Swift