Inversion of well log data using improved shale model for determination of petrophysical parameters