docstrings for m and n functions

begining to figure out restructuredtext.