Neural network algorithms implemented using Encog NN library