Text this: Iron, aluminum, and thorium impurity removal from a rare earth element pregnant leach solution using magnesium carbonate