Chain Rule for Multivariable Functions