ADD: matrix inverse caching