Began neural network implementation