-----------------
Matrix operations
-----------------

See https://en.wikipedia.org/wiki/Matrix_(mathematics)
