A method for determining a stochastic transition | Synapse