Converted most c-style function comments to PEP 257 docstrings.