Removed prior on distance in distance.py