Zaslat SMS: Stability analysis of power systems using network decomposition and local gain analysis