Corrected calculation in vtkLookupShiftAndScale; fixed incorrect assert
Fixed an error in a range check. Reduced chance of getting an inf from a division.
Corrected an assert to not suffer from an off-by-1 due to numerical error.
Thanks to Lucas Gandel for the report.