Matlab class for multivariate data sets