Node to Neuron
Refactored neuron to use dynamic activationfunctions