gtable: revised new_triangle function
added new_square and new_saw function to the gtable library