updated foundation/math/rng.h.
updated MersenneTwister test suite.
formatting and other minor changes.