Fixed a few bugs related to sets.
Localized variables in hexa21stokes.