add get, set, det, and inverse operation to Matrix2