correct assigns method in BayesAssigner class
document the BayesAssigner class