first commit

new functions for matrix inverse