Added docstrings

Added docstrings to methods