Feed-forward backpropagation Neural Network implementation in Java