Fix bug with getRNG() when Noise is default constructed.
(#526)