fixed and issue which would result high negative area in triangle calculations when triangles were degenerate.