Panel Flattening

general cleanup, updates to panel algorithms, RBFMesh and RBFNetwork