Updated docs and added multivariate differentation