same as BCpatterncorr notebook but updated figures and methods. Also create figs for any variable