Addressed formatting issues. Added docstrings for newest parameters.