Commended CheckThreeToThreeArray Test and changed algoritm