Bayesian classifier matlab