Real Madrid turned things around after a poor first half to beat Villarreal 3-1 in LaLiga on Saturday to move top of the league table.