Calculate the M2 statistic for DCMs

WWW: https://cran.r-project.org/package=dcm2
