now skipping duplicated xlinks
adding function to create CMM file of xlinks, also improved output
consistent calling of IMP.core, plus fixing bug