Addressed comments. Wrapped explanations in docstrings