first commit inverse matrix chache