add 2nd order temp compensation