added generalized multinomial naive bayes