Remove old (and broken) code for saving distances in a dict() format.

The whole entry.data[entry.data.keys()[0]][0] thing is broken anyway.
This shouldn't be needed now the TS_groups.py is in the new format.