fixed outputneurons, added new constructor to Neuron
moved code from agent to helper
mergeconflict