Implement neural network functions to setup network weights, train a net...

...work, and use a network for prediction.