Fixed pep8 violations. Some 'line too long' errors still remain.
Fixed some PEP8 violations even present in master branch, in examples/

This fixes some of the violations that were not caused by the change to pyplot
from pylab.