Fix a typo in numbertheory.py, fix some docstrings.

Some improper formatting in docstrings was preventing
a few symbols from showing up in the documentation.