Formation of Shale, Slate, and Magma