Circle study WIP.
This is a huge mess; needs tidying up when I have time.  Just a commit to store it all away safely.