Final copy of cacheMatrix