I have introduced two new functions

These functions are to check for stored inversions of the matrix.