Barycentric coordinates of a point
Calculates the weights on vectors A, B, and C needed to express D. The weights are the lambda variables
The labda values are expressed with the points A,B,C and D. The lambda values has practical applications as in collision detection and rasterization of a triangle in computer graphics