An improved model for estimating the TOC in shale formations