reverted back to testing the multivariate one
changed the global var for parameter number