CTC matrix rotation