pub fn ewm_var<T: Float>(x_vals: &[T], ewma_vals: &mut [T], alpha: T)