changed leaf conductance curve implementation