Text this: Development of a Fault-Tolerant Permanent Magnet Synchronous Motor Using a Machine-Learning Algorithm for a Predictive Maintenance Elevator