affine operations https://www.rocq.inria.fr/secret/Anne.Canteaut/poly.pdf 1.4.3 Affine equivalence for Boolean functions