pub fn mat_to_array2<T: Field + Clone>(mat: &Mat<T>) -> Array2<T>
Converts an OxiBLAS Mat to an ndarray Array2.
Creates a column-major (Fortran order) Array2.