pub fn cmo_batch_into_slice( out: &mut [f64], data: &[f64], sweep: &CmoBatchRange, k: Kernel, ) -> Result<Vec<CmoParams>, CmoError>