calculate avgSpeed of Track