distance utility functions
remove unused code
preparing for rotation of edges - for arrowheads soon