updating cancer model and adding documentation to bayes.py