added new_triangle function to the gtable library