added GalSim.table from original galsim source code