docstrings for x functions
Merge pull request #79 from AndrewAnnex/x_docs

docstrings for x functions