Speed improvements
Added MatrixCommon.prototype.toArray()
Use toArray() in copy()
Added MatrixCommon.prototype.isSameSizeAs()
Use isSameSizeAs() and small simplification
use isSameSizeAs()
Override toArray() for Matrix
Removed HTML formatting in doc