-Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
-Codechange: Make the mersenne twister more readable -Codechange: Unify the seeding process of random