Cached Matrix

Two functions to cache an inverted matrix and save computation time.