Text this: Optimal Robust Time-Domain Feature-Based Bearing Fault and Stator Fault Diagnosis