Added method for determining if point is inside of a triangle.