combinpmatr function

Combined input matrix of a data set