pretty big changes, trying to make it easy to save artifacts for all trials without too much of a headache. Created a globalIO object shared by everything (OK since single threaded). now determine if the csv directory exists before proceeding with analysis. changed how errors are reported with respect to sources. functionalized array loading, should make it much easier to get what we want in the future. changed the code calling utility functions to comply with the new stuff. Working, going to add in some saving functionality to stage 2 then give a go at stage3 before trying to tie it all together and get a working model