modified TODO in Main to correct an algorythmic error
added a method to Neuron to reflect changes in TODO from last commit