Principles of the Extraction of Metals