To create a parameter that would return the same value within the simulation run,
you should memoize the computation with help of memoParameter, which is important
for the Monte-Carlo simulation.

To create a random function that would return the same values in the integration
time points within the simulation run, you should either lift the computation to
the Dynamics computation and then memoize it too but using the memo0Dynamics
function for that computation, or just take the predefined function that does
namely this.