Fix various typos Fixed via codespell v2.1.dev
Curve splitting is added to handle seam passing by initial curve. test cases are added. Minor corrections.