The application of time correlation functions to chemical kinetics and vibrational relaxation