Include check to make sure that each point has the same size (no mixing of 2D and 3D points eg). Also generalize dublicate filtering.
Include check to make sure that each point has the same size (no mixing of 2D and 3D points eg). Also generalize dublicate filtering.

soswow/fit-curves,soswow/fit-curve,soswow/fit-curve,soswow/fit-curves