add hyperbolic tangent activation function