Text this: A comparison on PSO variants in calculating HEPWM switching angles for a cascaded H-bridge multilevel inverter