Quadratic Discriminant Analysis Bayes Rule