A technique to improve the accuracy of numerical inverse-scattering solutions for dielectrics