faster equal checks for matrix3x3