Standard And Rational Gauss Quadrature Rules For The Approximation Of Matrix Functionals