Add lots of tests to surface minimum_distance for periodic surfaces.

Since this test surface is a wavy cylinder, it provides lots of
opportunities for Newton's method to find local maxima or saddle points
instead of the minimum distance.

Consequently, the offset was tightened up to 0.1, and cases that were
verified to seek unfortunate extrema were culled.