Some functions for GF2 Matrix class