pub fn ema(data: &[f64], alpha: f64) -> Vec<f64>
Exponential moving average with smoothing factor alpha (0-1).