Docstrings added for a few functions

Docstrings added for a few functions