pub fn freedman_diaconis_bin_width<T: Float + ToPrimitive>(values: &[T]) -> f64