Stator Fault Diagnosis of a Permanent Magnet Synchronous Generator Using a Decision Tree Classifier