plot script now merges pdfs
made metric less sensitive to the total number of events in a scenario
added unit tests for scale, time scale and shifting