ind_aggregatestability function

Calculate the indicator aggregate stability