Update Triangle-Solver.cpp

Cleaned up code, hopefully not breaking anything.