Set in and out mins and maxes when training.
Right now, the neural network class expects to know the range of inputs and outputs it is expecting when created. Make this be set at the beginning of training.
This could happen in JS, but would be better on the C++ side.