Neural Network perceptron test