stabilityClass function

Stability class.