principle of refining in mining