Added noise before and after the shaper.  Added a hit-re-builder.
Added full reconstruction of events.  Seems to work OK, will need to test with larger variety of parameters
Next step: write code to allow the script to be called by another script with varying parameters.