Inverse computed

The functions to compute the inverse of the matrix if it is not
available in the cache have been written.