add setWeightsInProportionToLikelihood