1st working version, add stats for traffic matrix