Modified the way we calculate feature scaling for each metric.