Merged 2D/3D swapping.
Fixed boundary-realted bug in 3D face-to-edge swapping.
Edge-to-face still doesn't handle boundaries - bug!
Fixed bug in Smoothing.h related to how bundary vertices are detected.
Added more diagnostic messages to test_adapt_2d and test_adapt_3d.