Capping of Tailings Deposits: Analysis, Design and Implementation