Fixes location distance calculation

Fix distance calculation to use pyproj.  Optionally also accept
different units for the distance threshhold.