pub fn fft(signal: &[f64]) -> Vec<Complex64>
Compute FFT of a real-valued signal. Pads to the next power of two if needed.
Returns the full complex spectrum of length equal to the next power of two.