Made a new abstract class TimeDependentValue for ExponentialDecay so that other time-dependent functions can be added easily