Updated script_gen to add failure mode parameters. normal_test.py was used to try out noise generating functions.