Fixed bug in tools.py and visualization.py
Merge branch 'master' of github.com:bempp/bempp