private DerivativeStructure distance(Vector2D point,
DerivativeStructure cx, DerivativeStructure cy) {
DerivativeStructure dx = cx.subtract(point.getX());
DerivativeStructure dy = cy.subtract(point.getY());
return dx.multiply(dx).add(dy.multiply(dy)).sqrt();
}
public DerivativeStructure getRadius(DerivativeStructure cx, DerivativeStructure cy) {
DerivativeStructure r = cx.getField().getZero();
for (Vector2D point : points) {