Fixed issues with stability- and cycle- checking functions

There weren't handling cases of coupled SHC cycles properly.

Signed-off-by: Andrew D. Horchler <adh9@case.edu>