allowing for perceptron sequence trainer