create a inverse matrix