Implemented neuron activation function as Strategy.
Changed precision from float to double.