Function findRepresentativeFunction: added possibility to provide precalculated assignment pairwise comparisons.