Added Average transformation.