Evolution of crystallographic orientations in crystals subject to random and deterministic deformation