STABLE VERSION: valgrind and objective function vs K tests pass. Also, verified that multinomial probabilities sum to 1 within each coordinate of each model.