calc_sc3_stability function

Calculate SC3 stability