get_ML_state_indices: Extract the indices for the ML states at each node, given a row of relative probabilities
Description
Given a table with the rows representing nodes, and the
columns representing the relative probabilities of each
state, this function finds the ML (maximum likelihood)
state(s) for each node;
get_ML_state_indices does this for a row,
get_ML_states iterates over all the rows.