The Role of Geochemistry in the Mine-Life Cycle