A bit of this and a bit of that.

> Some new math functions related to matrices.
> Converting matrices from one type to another..
> Better syntax for array-slicing.
> Splitted up some files.