Added tanh activation function layer.
Added a test for the tanh layer.
Merge pull request #116 from aravindhm/tanh