Elemental concentrations from gamma-ray spectroscopy logs