Updated makeCacheMatrix