Adds contour plotting in perceptron demo.