Caching of Inverse Matrix