First commit of Matlab wrapper. Untested.
TODO: change MatlabVariable to template.