added newmetrics function to testing factory
unique strings for makemetrics
Merge pull request #546 from mattyw/metric-factory

added newmetrics function to testing factory

Added a MakeMetric function to the testing factory