Solving singular integral equations using Gaussian quadrature and overdetermined systems