Added calculations for avg speed and time