Inverse Matrix Cache

Takes a matrix, inverts it, and caches the inverted matrix