Added python code to handle fitting symmetries (require a complete fit
of all permutations)