added computeTransitiveAlignmentSet functions.