Fixed mxArray to Mvec conversion in matlab interface
Conversion from mvec to matlab vector