Improves and simplifies a few matrix functions
Improves and simplifies a few matrix functions

jtorresfabra/osgjs,jtorresfabra/osgjs,jtorresfabra/osgjs,cedricpinson/osgjs,cedricpinson/osgjs,cedricpinson/osgjs