Add more sophisticated thinning routine galsim.utilities.thin_tabulated_values
(#467)