Caching the Inverse of a Matrix. v1.