Working rounded curve. Added straight line too for comparison