gsimerge2signary function

Auxiliary functions to compute user-defined ilr and ipt transforms.