tricoefCal function

Compute the coefficient matrix required to test of a point is inside a triangle.