Added tanh activation function layer.
Added a test for the tanh layer.
Merge branch 'tanh' into unsupervised