Script for plotting vertex distances
Reattatch tracks to vertices