fn build_kernel(kernel: &str, sigma_steps: usize) -> Vec<f64>
Build a 1-D kernel for rate estimation.