Created inverse caching matrix wrapper