Added the abilty to calculate the distance between two points using the
distance formula.