Rational Transformations for Evaluating Singular Integrals by the Gauss Quadrature Rule