Added faster implementation of neural net that doesn't use object model, but instead leaves everything in arrays.