Improved compatibility between Matlab and GNU Octave