New smoother2histval function.

Ref #594