Add k-fold cross validation to MLLib