Unconstrained Optimization in Neural Network Training