pub fn fft_2d( data: &[Cplx], rows: usize, cols: usize, inverse: bool, ) -> Result<Vec<Cplx>, SpectralError>