Custom rng function

ok, thanks! This is a very nice example! But my conclusion is that I will have to do the wiener random sampling outside of Stan.