Cached inverse matrix