finished multivariate 2D2G case