Improve PEP8 coding style

Some small changes to conform the PEP8 Python coding style. Used the PEP8 tool.