Bug in writeFile() fixed (point indexes) and make3Tri function added in Trist