All variables and docstrings now conform. Yet to implement test function so untested.