Minor removal of pep8 violations

Just noticed some minor pep8 violations here and there, so I thought I would try to contribute by sending a small PR first if these kinds of changes are okay, I will put in more. Thanks.