functions of limestone in mining