Bug fix for distance calculation

You have a small copy paste error that reduces the distance of each
calculation. For my data, it reduced my distance traveled by half!