calculate velocity and dist according to dAcc