Extend MathLib linear algebra objects.

Main changes are:
 - rename add*() to add() for matrices and vectors,
 - ctors for square matrices,
 - new `RowColumnIndices` structure.