Added Array.prototype.toMatrix and Array.prototype.toVector
Allow setRow/setColumn to take matrix as parameter
Allow matrix for addRow/addColumn and diag
Refactoring and improved documentation