Text this: Performance Enhancement of Direct Torque-Controlled Permanent Magnet Synchronous Motor with a Flexible Switching Table