pub fn definite_integral_rayon<F>( function: F, bounds: (f64, f64), segments: u32 ) -> f64where F: Fn(f64) -> f64 + Send + Sync,