Making .m compatible with Octave
Merge pull request #3 from toshikurauchi/master

Making .m compatible with Octave