fixed a decently big issue with reversing 1D LUTs