Minor doc and formatting changes.
Reformatted docstrings in multinomial functions. Refactored multinomial
functions to avoid duplicating code.