Revert "Revert "Revert "Revert "Caching the inverse of a matrix""""

This reverts commit d27a9c08edb93889e4c9acf89a8d2b45e9f9ff8b.
Revert "Revert "Revert "Revert "Revert "Caching the inverse of a matrix"""""

This reverts commit 8eeb8e1afd190bd1ed1cf23d3883a8ab09c21f96.