design perceptron