extractModIndices function

(DEPRECATED) Extract model modification indices.