cleaned up code, added new functions bootstrap_agg, map_gac_features, and more