gypsum by product in mining