Computing decomposable multigroup indices of segregation. (September 2022)