taylor series of tan(x) near x = pi