wrote most of plotting and fixed up handshake

still needs:
- accurate numbers in header file
- scaling on the plotting coordinates
- testing with python
- all brush-related stuff