Matlab and Octave support added.