//Distance trapezoidal number functions
    public float distNear(float distance)
    {
        LeftTrapezoid dNear = new LeftTrapezoid(5, 10);

        return(dNear.getOutPut(distance));
    }
    //Status trapezoidal number functions
    public float Green(float time)
    {
        LeftTrapezoid green = new LeftTrapezoid(2, 6);

        return(green.getOutPut(time));
    }