Final CacheMatrix Program