Functions that allow the compute and caching of the inverse of a matrix