updated visualisation module to better conform to pep8.  deleted test scripts that were very out of date.