Updating fftshift to use octave implementation