Removed the Math.sqrt No reason to run the Math.sqrt as looking just for the minimum distance
Removed the Math.sqrt
No reason to run the Math.sqrt as looking just for the minimum distance

Rename from pointDistance to objectiveFunction
As now not just distance renamed (based on PR comments)

bjedrzejewski/d3fc,djmiley/d3fc,djmiley/d3fc,alisd23/d3fc-d3v4,bjedrzejewski/d3fc,alisd23/d3fc-d3v4,bjedrzejewski/d3fc,alisd23/d3fc-d3v4,djmiley/d3fc