Finish CacheMatrix