Dimensions for fft2D and fft3D should be swapped for CUDA