Added perceptron classes.