Added 2D Fourier transformation as num.fft2 and num.fft2_inv.