https://123dok.org/document/zx5088e4-newton-method-constrained-squares-fitting-control-rational-curves.html