Implemented successive pruning algorithm for impact handler. Improved algorithm for determining a suitable interval step length. Added test scenarios with different coefficients of friction and restitution.