affinity.estimation added also to speedup
fixed get.affinities load.batch
external fRPA tests