pep8 compliance for mesh.py