Modeling Systems with Multilevel Converters in MATLAB and Simulink