Added comments and improved code readability in various scripts. Consistency script compiles but still requires testing. Some of the results files may have changed because of testing.