Less loopy moar function for distanceTraveled column