Initial commit for the matrix class