pub fn std_dev(data: &[f64]) -> Option<f64>
Calculates the standard deviation of a slice of f64 values