Python Multiple Perceptron Neural Network