added code for searching for M_n's in Eq(N)