Added inverse matrix functions