add matlab source for regression and naiveBayesGaussian