Working pretty well. Lots of improvements, including a CRITICAL bug in the inversion w.r.t. treatment of the dihedral angles periodicity