Added std compliant version of the RNG, tests cleaned up