Fix typo of n by m

line 140, it should be n-by-m rather than m-by-m