Chain rule with natural log