Corrected location of read in octave