3D Modeling of Carbonate Rock Porous Media and Estimation of Petrophysical Parameters