Inverse matrix assignment