tanh returns the hyperbolic tangent of n.