Update calculate_distance.py3