docstrings for m and n functions

begining to figure out restructuredtext.
Merge pull request #78 from AndrewAnnex/m_n_docs

docstrings for m and n functions