Added code to read matlab/octave mat file