Orientational averaging in mechanics of solids