Caching the Inverse of a Matrix

Followed the example - Caching the Mean of a Vector