Updated cmp_struct to use the LinearAssignment code in pymatgen/optimization.