Added the functionality to compute the Inverse of the Marix, IF no
inverse is present in the cache