Minor bug fix classProbabilities()
Implemented discreteSplit