Make number of output entries produced by invert_lut() a parameter
Make number of output entries produced by invert_lut() a parameter

The callers of invert_lut() have been changed to pass the lut length as the
output length for now. There should be no behaviour change.

jrmuizel/qcms,bgirard/Ben-s-qcms-fork