Montana State thwarts North Dakota, 89-82