Cached calculation of Inverse of Matrix.