correct a large bunch of pep8 errors
docstring example in refine_atan2 was corrected, pep8 errors corrected
remove pep8 error due to comparisons like: assert cond==True and assert cond==False for assert cond  and assert not cont