pub fn combined_mass(masses: &[f64]) -> Option<f64>
Computes the sum of non-negative masses.
Returns Some(0.0) for an empty slice and None when any mass or the result is invalid.
Some(0.0)
None