Dynamic Processes in Magmatic Ore Deposits and Their Application to Mineral Exploration