Vertex Distance and Calculations