Update trianglesolve.py