Add rotate matrix