Assessing rare earth elements in quartz rich geological samples