Replaced emptyToMesh with simple 2 lines

Renamed flattenHierarchy  to mergePart. ONLY WORKS ON PYRAMID.DAT SO FAR