Commented out troubleshooting for fractional rms flux (it works!), added segment counter, improved comments