added multinomial likelihood