Update pencil_brush.class.js

Simplified path creation process.
This removed calculation are handled by path class anyway.
Fix issue #1725