Add handy script to compute average links/latency