Implemented bezier curves and slope drawing