Added cross trainer alg