Made new trapezoid class