continued work on naive bayes; added clustering standard for kmeans (with tests)