Changing the functions to return the inverse of a matrix

Changing the functions to return the inverse of a matrix