multiex extended to handle any input type
Merge branch 'master' into multPaper