Change the data structure for kernels's polyline

Now it starts from (0, 0). Previously it skipped (0, 0).