Fixs kld and entropy bugs in treenet
Properly flags bayesnetcpd as dirty
Fixes parent marginal bug
Add printing to bnetcpd