linearDecay function

Constructor of linear decay functions