DEM study of principal stress rotation in granular material