Define extensions to Object, Array, Numeric and Range to play well with matrices.
Main additions are: Object#to_mat, and Numeric#columns, Numeric#rows, and so on.
[Validate]