MixColumns works, but the gm2 function is ugly.