On the Calculation of Time Correlation Functions