Add multi-dimensional FFT functions