Corrected typo in documentation (#590)
Corrected typo in documentation (#590)

* Corrected typo in documentation

* moved all imports to the top, pep8 fixes

* Followed pep8 for long if statement

* Better breaking of multiple lines

anubhavvardhan/qutip,cgranade/qutip,qutip/qutip,cgranade/qutip,qutip/qutip,anubhavvardhan/qutip