pub fn triangle_random(mode: f64, deviation: f64) -> f64
Returns a triangle-distributed random value.