Now accounting for coefficient of restitution