implemented NestedSampling for HP model, needs testing