fixed so that test sets are put back into training. also changed loop bounds to only do 10 folds instead of 11