complete cacheMatrix