added the trapezoidal membership function