Added cross product and getDominantDimension() method
Refactoring and fixed bug in getRow/setRow
Added test for cross product
Fixed Matrix.prototype.submatrix()
Fixed copy() method
Expanded test coverage especially for zero matrices and fixed several bugs