update makeCacheMatrix

This commit mainly updated getinvm() function. from calculate inverse
to simply return the cache inverse variable