Mathematical modeling of free-form curves and surfaces from discrete points with NURBS