https://medium.com/math-simplified/differentiation-in-n-dimensions-with-the-fast-fourier-transform-fft-5f8e630aee40