Qda dimensionality reduction