k-fold cross validation indicies calculation

function that splits the dataset into folds of equal class label
proportions.
cross-validation complete

cross validation fold generation function now returns indicies instead
of partitioned data so that the data set doesn't have to be duplicated
in memory. Reports the accuracy of a variety of different state
parameters on the dataset. Seems to be working.