Declare t where needed
Move log and alog table generation to their own method
Move S box generation to its own method
Move inverted G matrix generation into its own method
Move T box generation into its own method