Clean up iqe script and radial normal calculation.