implemented equilibrium_index algorithm