Fix link length calculation

This commit corrects the calculation of link length from endpoint
coordinates made by the parsers for Abilene and Topology zoo
topologies.

The link length calculation was made with an incorrect formula.
This commit adds a function implementing the haversine formula that
is used for the geographical distance calculation.