Numerical restoration of surface vortices in Nb films measured by a scanning SQUID microscope