adding Coefficient of restitution to the collisions