makeMatrix

calculates and caches the inverse of a matrix