Added getTotalDistance()
Merge pull request #19 from fssaez/master

pull #2 june 7