First try of creating the cached inverse of a matrix