Track length calculations added.