Direct calculation of the S matrix in the massive thirring model