Fundamentals of LWD Petrophysics