add velocity computation