adds standard deviation metric to metrics.js