pub fn sma(values: &[f64], period: usize) -> Vec<f64>
Arithmetic mean of each complete trailing window.