fixed index on MakeManyMatrices