Median bond length calculation.
Cleanup STDOUT messages.
Use median bond length for scaling, the average can get skewed by an outlier.