Correction for Arrays.copyOfRange; TO range is exclusive, not inclusive
Adjust Architecture Configuration and NeuralNetwork Weight matrix