Several improvements of vectors and matrices

* Almost-equality comparison of vectors and matrices
* Vector normalization
* Generalized vector basis generation
* Unit matrices
* Matrix scaling
* Matrix of cofactors
* Matrix inverses