Adds method to calculate distance between any two points
Fixes bug where clicking Upload POIs without a file selected would crash