Changed type class ePRNG and corrected mersenneTwister algorithm for 64 bit machine.