Fixed definition of neff (resampling threshold).