Fix so that Postprocess plugins can either use newSample(state,no,total)
or newSample(coreModel,state,no,total). The latter form allows access to
the total log likelihood, and also the ModelExtensionManager, and by
default it just calls the original form, so the existing plugins don't
need to be modified.