Add CacheMatrix