fn rvalue_to_dmatrix(val: &RValue) -> Result<DMatrix<f64>, RError>
Convert an RValue matrix to a nalgebra DMatrix (column-major — zero-copy reorder).