findiff: differentiate higher dimensional arrays. callback in iteration is passed the locals().