An experimental design approach for the separation of thorium from rare earth elements