This functions tests if a given point is inside of a given triangle. This function depends on the is_clockwise() function to operate.