Added octave functionality