Draw improvement

fix perceptron