Finished docstrings and comments for chords.py