AC MIlan and Atletico Madrid have beaten Slovan Bratislava and Sparta Prague respectively to improve their chances of progressing in the Champions League.