replaced NumbersForMatrix by NumberArrayForMatrix