Let the compiler handle inlining functions.
Add test suite for testing the stochastic reservoir.