Gain margins and phase margins