Adding two more histogram functions: interpolate, subtractMinFromHist.
Protect interpcode4 for negative values in high and low variations.