Chain Rule for Partial Derivatives