Updated how to calculate distance
Updated view to show distance