Finish & debug segment detection script.
Start code to look at correlations between concentration & heading.