Möbius Function in the Cohen-Macaulay Case