inverse matrix cache