More documentation. Finished docstrings for emk.py