Autopep8

I corrected all but the linelength errors. Is this okay to merge? Someone else should take a look onto it too.