Write and test script to calculate correlations between plume-triggered encounter concentration and subsequent headings.