BayesNet.py: add/edit function docstrings