rockbot/vektor — pull request #13 by MarkRedeman (2013-09-25 10:00:37+00:00)
Title: Fix for creating square matrices and added identity property to the Matrix function

The Matrix constructor used the (undefined) cols variable when creating the appropriate array instead of this.cols.

There was a isIdentity parameter in the Matrix constructor but it wasn't used. I added the Matrix.identity(size).