[distance.py] now supports up to 10 locations in one call