RF: refactor random fields notebook for simplicity

The code for finding the variance expectation was a little obscure;
simplify and wall off into its own function.