North Dakota man sentenced for allegedly raping baby