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!
Merge pull request #3 from sambeckman/master

Bug fix for distance calculation