Attempt to fix pep8 issues in cube.py. long lines in code example docstrings remain.