process for processing rocks and minerals