Integrated topology and controller optimization using the Nyquist curve