DR function

The Delayed Rejection Algorithm