fix Neuron class