Added ability to use multiple traces at the same time, with the name of the trace provided to traceAttr. Also, created a metric object that makes it relatively easy to time different regions of execution and trace them.