* Added initial perceptron code from Yoav