fn calculate_bond_distance(geometry: &Geometry, a: usize, b: usize) -> f64
Calculates the current bond distance between two atoms.