cache inverse matrix assignment