Added code to calculate per-ROI signals.  Untested.