Standardized docstring documentation, cleaned code, and added comments.
More code cleaned and more docstrings & comments added.
More code cleaned and more docstrings & comments added.