Some changes to perceptron.py and added untracked files.