Scientific Applications: An algorithm for identifying the ergodic subchains and transient states of a stochastic matrix | Synapse