PEP8 on tri module

Improved PEP8 compliance for `tri` module and the corresponding examples.  I have checked that the examples give the same output as before, and that all tests in `test_triangulation` pass.