init version cacheMatrix