The scripts now support multiple meshes. A bug in the split mesh perpendiculars is fixed. Mesh generation code re-arranged and optimized.