Add docstrings and comments to colormatch.py