Set up the logic for switching between group symmetries.
Fix logical structure for template specialised overloaded function distribute_coefficients ()