bug fix, derivatives

variables are lnT, not T