Fixed compile bugs in chem/TDA.cc.