make.univ function

Convert data from multivariate to univariate form