PEP8 fix and docstrings.
Merge pull request #1 from I159/I1590MQ

PEP8 fix and docstrings.