added matrix for the rotation