point inside triangle algorithm