Added missing file for Mersenne Twister, small bugfixes.