Cache Inverse of a matrix