Curves

Conversion from straight lines to bezier curves.