added for loop to code, need to test with training data
modified a bit
added multinomial dile
changed clustering