Added simple Matlab wrapper