Added ClosestPoint() method to Edge class.