pub fn cg_batch_with_kernel( data: &[f64], sweep: &CgBatchRange, k: Kernel, ) -> Result<CgBatchOutput, CgError>