multiple bug fixes, logging imrovement
commit before modifying analogtojson.py
updated visualisation scripts
general bug fixes