Partial port of Python's rand module, aimed at providing identical output starting from a fixed seed as the Python version