Changed to make mBeliefs visible to subclasses.
total() -> getTotal()
Implemented partial distribution capabilities (NOT FINISHED).