fixing fftshift2 so that the generated k-space data is valid