3DL Legacy now forces size 17
move all bitdepth->max integer math to LUTHelper method

more clarity and keeps mistakes from happening