Beam shaping using a Digital Multimirror Device