Advances the state of the RngStream g by k values. If e>0 , then k=2^e+c; if e<0, then k=-2^-e+c; and if e=0,then k=c
function AdvanceState input RngStream g; input Real e; input Real c; output RngStream gout; end AdvanceState;