split up neuron and trainerNeuron. Added tests