GF2Matrix added, normalization ported from C++