Added neuron definition
Added lineartanh activation function
Refactor of nnet. Base working