Approximate Functional Differencing