added comments
fixed matrix issue, changed some css
visualizations are now displayed on click