Function selects and returns the transition state given a uniform random number between 0 and 1 and
the cumulative probability vector of the state sequence.
Usage
selectState(uni, wt)
Value
Returns an object containing the transition state(s) based on the given cumulative probability vector and random numbers.