Added fftshift and phase factors