Fixed a small bug with dTemp and dFlex
Merge pull request #2 from jaikrishnats/master

Fixed bugs for dTemp & dFlex