Fixed bug when importance sampling fails

Sampling now falls back to method=“simple” properly when importance
sampling fails