numerically compute local dual space and Hilbert functions