Preliminary cosyne work
figure code