Perceptron training
Performance script for training