stoch_simul: add loglinear option #431