Fixed minor bug in function MNR_CELLS