/** This function returns the given expression with expanded sums
* for all dummy index summations, where the dimensionality of
/** This function returns the given expression with expanded sums
* for all dummy index summations, where the dimensionality of