pub fn safe_matvec_multiply( matrix: &Array2<f64>, vector: &Array1<f64>, ) -> Option<Array1<f64>>
Safe wrapper for matrix-vector multiplication