Zaslat SMS: Harmonics elimination based on curve fitting method for modular multilevel converters