rigidity psychology