Caching the Inverse of a Matrix

fix typo