moved all trait functions to stlMatlab.h

And also fromVector