Fixed -Wmaybe-uninitialized warning in FFT

It would be nice to refactor these to make the code easier to understand,
possibly that would also allow the compiler's static analysis to spot
that these maybe-uninitialized warnings are spurious
Fixed a 'rank mismatch' warning