added loopTrainNeuralNetwork(), trainNeuralNetwork(), predictNeuralNetwork()