Make Neuron and NeuralNetwork new style objects