Fixed bug in neural network class, that cut off precision
Finished merge