What are the main minerals of magma​