Switch to single precision sqrt function when trying to replicate ED
distances. This resolves the 0.001 discrepancies that appeared in a few
distances.