Working perceptron
Working perceptron

I forgot a logical statement, added trials and did the correct axes; everything works now
mkneuron/compneuro,mkneuron/compneuro,mkneuron/compneuro,mkneuron/compneuro