updated rng with mikes post gamma version
Merge branch 'mikes_rng' into develop