List<TransformerWeighting> weightings = calculateTransformerWeightings(trans, input, output);
TransformerWeighting maxWeighting = weightings.get(weightings.size() - 1);
for (int index = weightings.size() - 2; index >= 0 && maxWeighting.compareTo(weightings.get(index)) == 0; index--)
{
//We may have two transformers that are exactly the same, in which case we can use either i.e. use the current
TransformerWeighting current = weightings.get(index);
if (!maxWeighting.getTransformer().getClass().equals(current.getTransformer().getClass()))