Multiplying Matrix Formula