pub fn var(data: &[f64]) -> f64
Calculates the population variance from an array of data points in a numerically stable manner using the Welford algorithm.