updated cacheMatrix File