how pyrite mined and prosses