more edits to the Matrix Chain Multiplier