pub fn random_exponential<R: Rng>(rng: &mut Random<R>, lambda: f64) -> f64
Sample from an exponential distribution