Fixed PeceptronClassifier implementation.
Initial Perceptron performance tuning (> 3x speedup).