Update docstring documentation to reflect latest version of the code and add missing docstrings for functions
Update docstring documentation to reflect latest version of the code and add missing docstrings for functions