adds library and function in the view to use the haversine formula to calculate distances of earthquakes between each other