reformatting data file so it plays nicely with octave