perceptron standalone