Adding setup.py and a slight tweak to default distance threshold.
Some minor changes now that I've switched to python3. (Most of the work
was done to the various packages that are required.) Also made it run
clean according to pep8.