1.6 rotate matrix