changed calcVel