quadrature rules for singularities