improved weighted metric evaluation using NumericExtensions