Finish caching the inverse of a matrix