increment version number
clamp out of range input values to LUT range