pub fn calculate_spacing(pareto_front: &[MultiObjectiveSolution]) -> f64
Calculate diversity metric (spacing)