Use average position rather than bbox center to bend tree normals.
Use ; as material tag separator.
Clean up iqe script and radial normal calculation.