First environment of math library

I have created the files that allow to create tests and code for the
math library.
Added the current code for matrices

I have added to the library the code for matrices I was working on long
time ago.