solve singular intergral kernals