nmaQ function

Multivariate Q-statistic and its factorization