Fixed a bug in drate_dT expression, simplified a little bit
drate_dX expression, and doxygen docs update starts