Added a Tanh layer.