Integrated InputSynapse and OutputSynapse classes to Neuron