Added matrix visualization