Add code for complex tan and tanh