Embedded Fault Class Detection Methodology for Condition-Based Machine Monitoring and Predictive Maintenance