inverse matrix solved cleaned