matrix inverse functions

matrix inverse functions