adding rotation matrices