This routine simply creates a grid of knots (in the correct format) to be used as in the "internal" part of the soap film smoother
make.soapgrid(bnd, n.grid)list with elements x and y which give the locations
of the boundary vertices. The first and last elements should be the
same.
either one number giving the number of points along the
x and y axes that should be used to create the grid, or
a vector giving the number in the x direction, then y
direction.
a list with elements x and y, containing the knot
locations.