Triangular Trapezoidal Function Added