fixed crossvalidation, now plots average results of runs that end in different iterations