refactored TemporalEventPiecewiseLinear
now has a membership_function of type FunctionPiecewiseLinear