This way the executable code can be worked with directly, instead of via the python file that generates the rust code. Also introduced some small optimizations.
Also translated the Halton generator to rust and made it a crate where the code is generated by a build.rs file.