Converted activation function pointers to functionals
Implementation for derivative in Neuron - will change in later versions