a simple matrix/linear algebra library in javascript