Implemented Python convention.

Modified docstrings, comments, and names to conform to Python
convention.