filling perceptron classes