removed histogram making from the core-transient analysis function (so it can be sourced with minimal memory usage and processing time)