Eliminating harmonics in a multilevel converter using resultant theory | Synapse