Moving gm-functions.
Adding gm-functions needed for inverse mixcolumns.