DEMC changes: added parameter controlling how long it waits before
starting to record history. Also added the ability to tolerate NaN/Inf
likelihoods and simply reject them rather than dying.