Implemented fftshift