matrix rotation and  compare