Create functions to cache and compute the inverse of a matrix