Change of velocity calculation