moved gen2dpts to demo/comp_geo