E.g. add a squareDist function without the Math lib dependency.
E.g. add a squareDist function without the Math lib dependency.