updated trapezoid defuzz method