added script to calculate signal correlations