Matri's Juve beat Malaga