Fixed bug in calculation of gamma_T and gamma_S