added k-fold and modified init to deal with new kfold data structure;