Vector form of the multivariable chain rule