Renamed triangle method to trapezoid