Cached Matrix

Two functions to cache a large inverted matrix.