fixed crash in QDA covar calculation
Merge pull request #1131 from pickle27/qda

fixed crash in QDA covar calculation