update distance comparison script to use test data by location.
minor cleanups.
Add support for distance units to calculations. Fixes #110.