Impact of the Number of Angles and Levels on Harmonic Mitigation in Multilevel Converters