Fixed triangulation iteration error

The reweighted solution was dismissed in the next iteration.
Merge pull request #19 from PhilLab/patch-1

Fixed triangulation iteration error