Added RandomMfromN.