Refactored such that SELF is not used for NETNODES, PRED, or N in PredictBayes, ReadNodes, and PDF2Stat.
Refactoring complete such that predictions and their stats are outside of SELF (CDAT). So now, merge back into master and go forward with cross-validation.
Created a set of objects within SELF (CDAT) that contains pred and NODESTRUCT information for each cross validation fold
Major step --> now writes out statistics for both base case and cross validation. example.xml is set up for 10 folds. Output is tagges with scenario name, clibration or validation, and the number of folds evaluated. Next still need to look for errant calculations, but at first blush results look correct.
Small change to use scenario name in the base statistics output file name. All stats output are .dat files