calculate avg speed using total_seconds().

the seconds attribute only conatins the seconds for the maximum of
one day. The total_sceonds method on the other hand is the total seconds
of the duration.