Added option to compute global derivative at point.