615347b
refactoring: provide lastValue with the noise_function The noise_function() requires lastValue to be defined in the parent scope (or above). As this is not obvious, it makes more sense to define the variable with the noise function.