Fix bug in curve(pos=[(0,0,0), (0,0,0), (1,0,0)], radius=0.1); eliminate initial duplicate points