Changes to support Monte Carlo for SHA and RNG, including the addition
of an extra optional parameter on an input that makes it appear once at
the top of the output file rather than with every output block, or not
appear at all.