Two functions to show matrix inverse