fix #20 by redeclaring the matrix in the identity class protected