Implemented Mersenne Twister randomizer.