logarithmic function differentiation implemented.