matrix_tools function

Tools to Work with Matrices