Trying to fix the inputs to the sboxes.