octave compatibility

macro toolbox now runs on octave