ngm_discrete now handles stochastic and deterministic cases all in one.  Add a Stochastic class to get it working.  The included example seems to work, but could use some testing against the MATLAB version.