Estimating derivatives of a function at a point