[add] square matrix rotation (in-place)