More differentiation rules for chainRule.