gauss triangulation method add