Cosmetic:  dropped accidental s from a name
Now StepFunctionOfTime is a specialization of FunctionOfTime.
Generalized the code that worked with StepFunctionOfTime.
Now the worker waiting times are treated as sampling a function of time.