function to concatenate structs
support for keeping track of artifact types
wrapper function changes for keeping track of artifacts
concatenate structures
fix variable output order, fix tbeg tend sample if using subset
get artifact data and put it in a struct
store artifact information