Fix bug where failInfo wasn't initialised when sampling from a p.d.f.