Added histogram comparison metric.