This is a set of two functions. One to get/set and inverse a matrix and the other function to either get a cached inverse of a matrix if the matrix did not change. If changed , will return the inversed matrix