Calculating average velocity or speed added #