Added the ability to invert the y lookup table (the old flipy behavior)