Cleaned up python to meet PEP8 style guide.