Minor renaming
Bugfixing and useful debugmessage

It now prints the number of nonzero probabilities in the 'b' matrix.