pub fn check_consistent_length<T, U>(x: &Array2<T>, y: &Array1<U>) -> Result<()>
Check if X and y have compatible shapes