Text this: Enhanced Torque Estimation Based on a Cognitive Training Model for Robust PMSM in EV Applications