Updated Neuron copy constructor to deal with null activation function.