The numerical solution of volterra intergral equations with singular kernels