Pair of functions to cache the inverse of a matrix added.