computes the probability of a given discrete measurement vector for all classes under a product of multinomial