Functions to perform dimensionality reduction for classification if the covariance matrices of the classes are unequal.