Quadratic Discriminant Analysis Revisited