Relaxed overly tight floating-point comparison
This fixes a test failure on arm64 Macs, where the dist2 value is not exactly zero but very tiny.
Also fixed spelling/typo.
This fixes a test failure on arm64 Macs, where the dist2 value is not exactly zero but very tiny.
Also fixed spelling/typo.