Fixed a bug with the InputGenerator prng.