Fixed variable naming. Changing comments to python docstrings.
Finished comments.
Added comments for common.py.