reintroduce the cross correlation analysis

This needed some work to get it running again using our new
remote R framework, but the results look good now.  This commit
also contains a GUI test for the analysis.