Moved ptr_vector<solution> solutions and vector<size_t> representatives into the ligand loop
Encapsulated x, a, q, c, d, f, t, g, e into solution
Revised a comment