Discuss how a material can be changed between igneous and sedimentary rock types.