what type of metamorphism rock turns heat to magma?