added multivariate example.