Visualization update

Changed the visualization code so that it displays the right notes at
the right frequencies and is in the right order.