Fixed clebsch gordan calculations, updated output in run_cif_to_surface
tidied up code, added support for calculating Q-invariants