Text this: Design Optimization of the Multi-layer Switched Reluctance Motor to Minimize Torque Ripple and Maximize Average Torque