Real Madrid remain in with a chance of reaching the Euroleague quarter-finals after a win over Unicaja in Group F on Thursday.