fn similarity(dist_sq1: i32, dist_sq2: i32) -> f64
Similarity between two squared distances. Positive when the two nearest aquifer cells are close together (near a boundary).