Chmod of run_inputs script.
Modify tree generator and make it safer.
Speed improvement for probability calculations.